import React, { Component } from 'react';
import { withRouter,NavLink} from 'react-router-dom';


class View extends Component {
    render(){
        setTimeout(()=>{
            this.props.history.push('/web1906');
            // this.props.history.replace('/web1906');
        },3000)
        return (
            <div>这是详情{this.props.id}</div>
        )
    }
}

export default withRouter(View);
